<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>问题详情</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no">
    <link href="css/style.css" rel="stylesheet">
</head>
<body onload="cc.programs.questionDetail().init()">
<main class="page-group">
    <section class="page page-current" id="questionDetail">
        <nav class="bar bar-tab cc-bar"><a class="tab-item cc-com-btn" href="#zhizhao">我来支招</a></nav>
        <div class="content infinite-scroll infinite-scroll-bottom" data-distance="120" >
            <div class="content-inner J_que_list">
                <!-- view start -->
                <que-item :item="item" offermoney="true"></que-item>
                <article class="cc-common-list">
                    <h4 class="cc-common-title">答案</h4>
                    <que-item class="cc-answer" v-for="ans in answers" :item="ans" com="true" transition="qlitem" stagger="160"></que-item>
                </article>
                <!-- view end -->
            </div>
        </div>
    </section>
    <section class="page" id="zhizhao">
        <div class="content" data-toggle="scroller">
            <div class="content-inner J_que_list">
                <!-- view start -->
                <article class="common-ctl">
                    <form id="formZhizhao">
                        <h4 class="cc-common-title">文字回答</h4>
                        <div class="answer-text"><textarea rows="4" name="answer" placeholder="请输入您的答案(不少于20字)" v-model="ans"></textarea></div>
                        <h4 class="cc-common-title">语音回答</h4>
                        <div class="answer-voice">
                            <div class="cc-audio J_paly_voice" hidden><span class="J_time">0s</span> <i class="iconfont">&#xe603;</i> <i class="iconfont J_del_voice">&#xe609;</i></div>
                            <a href="javascript:" class="iconfont J_startRecord">&#xe61f;</a>
                        </div>
                        <h4 class="cc-common-title">添加图片</h4>
                        <div class="answer-imgs">
                            <a href="javascript:" v-for="img in imglist" class="ans-img-item" style="background-image: {{'url('+ img +')'}}"></a>
                            <label href="javascript:" class="ans-img-item J_addimg" @click="addimg($event)"></label>
                            <span class="answer-imgs-tag">最多添加6张</span>
                        </div>
                        <h4 class="cc-common-title">视频地址</h4>
                        <div class="common-com">
                            <input type="text" class="cc-input" placeholder="视频地址 http://" name="videourl" v-model="videoUrl">
                            <label class="label-checkbox com-nim">
                                <input type="checkbox" name="nimin" v-model="nimin">
                                <div class="item-media"><i class="icon icon-form-checkbox"></i></div>
                                <div class="item-media">匿名发表</div>
                            </label>
                            <button type="button" id="sub" class="button button-fill button-warning cc-btn">提交答案</button>
                        </div>
                    </form>
                </article>
                <!-- view end -->
            </div>
        </div>
    </section>
</main>
<script src="lib/vue.min.js"></script>
<script src="lib/vue-animated-list.js"></script>
<script src="lib/zepto.min.js"></script>
<script src="lib/sm.min.js"></script>
<script src="lib/sm-extend.min.js"></script>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script src="js/io.js"></script>
<script src="js/main.js"></script>
</body>
</html>
